PROJECT(CollectChipData)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) 
SET(CMAKE_C_COMPILER g++)
ADD_DEFINITIONS(-std=c++11)
INCLUDE_DIRECTORIES(../include ../include/rabbitmq)
AUX_SOURCE_DIRECTORY(./ dir_src)
AUX_SOURCE_DIRECTORY(../include/tinyXml dir_src)
AUX_SOURCE_DIRECTORY(../include dir_src)
LINK_DIRECTORIES(/home/lxf/Project/CollectData/lib)
LINK_LIBRARIES(CollectChipData librabbitmq.a pthread dl uuid boost_thread.a boost_system.a)
SET(EXECUTABLE_OUTPUT_PATH ../bin) 
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
ADD_EXECUTABLE(CollectChipData ${dir_src}) 
